<?php
/**
 * Primary Aside
 *
 * This template displays widgets for Primary.
 * If no widgets are added, nothing is displayed.
 * @link http://themehybrid.com/themes/hybrid/widget-areas
 *
 * @package Hybrid
 * @subpackage Template
 */

if ( is_sidebar_active( __('Primary', 'hybrid') ) && is_home()) : ?>

	<div id="primary" class="aside">

		<?php hybrid_before_primary(); // Before Primary hook ?>

		<?php dynamic_sidebar( __('Primary', 'hybrid') ); ?>

		<?php hybrid_after_primary(); // After Primary hook ?>

	</div>

<?php endif; ?>